package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyProject"
)

//var scyModuleName = "scy"

func SetScyProjectRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyProject", scyProject.CreateScyProject)
	r.POST("/"+scyModuleName+"/updateScyProject", scyProject.UpdateScyProject)
	r.POST("/"+scyModuleName+"/deleteScyProject", scyProject.DeleteScyProject)
	r.POST("/"+scyModuleName+"/getScyProjectList", scyProject.GetScyProjectList)

	return r
}
